package edu.mse.camel.client.events.util;

import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.RGB;

public class Util {

	public static RGB getRGB(Color color) {
		return new RGB(color.getRed(), color.getGreen(), color.getBlue());
	}
	
	public static RGB getRGB(java.awt.Color color) {
		return new RGB(color.getRed(), color.getGreen(), color.getBlue());
	}
	
}
